<template>
  <div id="app">
    <h2>xie yingpeng</h2>
	<button type="button" @click="tc()">按钮1</button>
	<p @click="home()">首页</p>
    <router-view/>
  </div>
</template>

<script>
export default {
  name: 'App',
  data(){
	  return{
		  
	  }
  },
  methods:{
	  tc(){
		  console.log('nh');
	  },
	  home(){
		  this.$router.push('/Xyp');
	  }
  }
}
</script>

<style>

</style>
